#ifndef CVECTOR_H
#define CVECTOR_H

class CVector
{
public:
	CVector(float x = 0.0, float y = 0.0, float z = 0.0);
	CVector(const CVector &);

	void		operator=(const CVector V);
	CVector		operator+(const CVector V);
	CVector		operator-(const CVector V);
	CVector		operator/(const float f);
	CVector		operator*(const float f);

	CVector		crossProduct (const CVector V);
	float		dotProduct (const CVector V);

	void		normalize();
	float		length();


	float m_x;
	float m_y;
	float m_z;
};

#endif // CVECTOR_H
